package org.luxor.commons.swagger.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.luxor.commons.core.web.controller.BaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用于生成SWAGGER文档中的全局状态码
 *
 * @author Mr.Yan  @date 2020/3/31
 */
@Api(tags = "_status", description = "状态码列表")
@RestController
public class RestStatusGenerator extends BaseController {

    @ApiOperation(value = "状态码列表")
    @RequestMapping(value = "/status", method = RequestMethod.OPTIONS)
    public void requireStatusCodes() {
    }

}
